<template>
  <div id="app">
    <router-view />
  </div>
</template>

<script>
export default {
  name: 'App',
  components: {
  },

  // created() {
  //   //判断缓存的time是否过期
  //   let time = localStorage.getItem('time')
  //   if (time) {
  //     let now = new Date().getTime()
  //     if (now - time > 1000 * 60 * 60 * 24 * 7) {//超过7天
  //       localStorage.clear()//清除缓存
  //       this.$router.push('/login')
  //     }
  //   }else {
  //     this.$router.push('/login')
  //   }
  // }


}
</script>

<style lang="less">
  * {
    padding: 0;
    margin:  0;
  }
  .el-table--enable-row-hover .el-table__body tr:hover>td.el-table__cell {
    color: #000000;
    font-weight: bold;
    background-color: #eede7c !important;
  }


</style>
